package com.itheima.producer_consumer;

public class Demo {
    public static void main(String[] args) {
        Desk desk = new Desk();
        Producer pro = new Producer(desk);
        Consumer con = new Consumer(desk);
        pro.start();
        con.start();
    }
}
